package cn.ccit.iservers;

import java.util.ArrayList;
import java.util.List;

import cn.ccit.entites.record.PayOrderRecordItem;
/**
 * 
 * @author wanghao
 *	点菜记录明细（临时表明细）
 */
public interface IPayOrderRecordItemServers {
	public boolean addPayOrderRecordItem(PayOrderRecordItem cdRecord);//增加明细
	public boolean removePayOrderRecordItem(PayOrderRecordItem cdRecord);//移除
	public boolean changePayOrderRecordItemInfo(PayOrderRecordItem cdRecord);//修改
	public boolean batchAddPayOrderRecordItem(List<PayOrderRecordItem> list);
	public List<PayOrderRecordItem> getSomePayOrderRecordItems(int start,int limit);//获取一定数量
	public PayOrderRecordItem searchPayOrderRecordItemByID(int id);//搜索通过id
	public List<PayOrderRecordItem> searchPayOrderRecordItemByYear(String year);//通过年
	public List<PayOrderRecordItem> searchPayOrderRecordItemByMonth(String month);//通过月
	public List<PayOrderRecordItem> searchPayOrderRecordItemByDate(String date);//通过日期
	public List<PayOrderRecordItem> searchPayOrderRecordItemBySerialsNumber(Long SerialsNumber);//通过流水号
}
